<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import {
  Document,
  Menu as IconMenu,
  Location,
  Setting,
} from '@element-plus/icons-vue'

</script>
<template>
  <div class="common-layout">
    <el-container>
      <el-header>自动更新代码</el-header>
      <el-container>
        <el-aside width="200px">

          <el-row>
            <el-col :span="6">
              <el-menu>
                <el-menu-item>
                  <el-icon>
                    <setting />
                  </el-icon>
                  <span>长兴校区</span>

                </el-menu-item>
              </el-menu>
            </el-col>
          </el-row>

        </el-aside>
        <el-main>
          <router-view />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<style>
.common-layout {

  .el-header,
  .el-footer,
  .el-main,


  .el-header,
  .el-footer {
    background-color: var(--el-color-primary-light-7);
    color: var(--el-text-color-primary);
    text-align: center;
  }


  .el-main {
    background-color: var(--el-color-primary-light-9);
    color: var(--el-text-color-primary);
    text-align: center;

    height: 150px;
  }


}
</style>
